package com.njtoyo.taxi.admin.rest.wrapper.business.call;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@ApiModel("叫车无应答导出 wrapper")
public class NoResponseCustomerMobileNumberExportWrapper {
    @ApiModelProperty(value = "地区ID", required = true)
    @NotNull(message = "地区ID 不能为空")
    private Long waitSeconds;

    @ApiModelProperty(value = "开始时间，精确到天，格式：yyyy-MM-dd HH:mm:ss", required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @NotNull(message = "开始时间 不能为空")
    private Date startTime;

    @ApiModelProperty(value = "结束时间，精确到天，格式：yyyy-MM-dd HH:mm:ss", required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @NotNull(message = "结束时间 不能为空")
    private Date endTime;

}
